<?php
namespace App\Models;

class Role extends Base
{
    public $timestamps = false;

    public function permits()
    {
        return $this->hasManyThrough(Permit::class, RolePermit::class, 'role_id', 'id', 'id');
    }
}
